package com.rd.student.jiaji.class4.suyan.zrrd.day18;

import java.util.LinkedList;

public class Student {

    private String name;
    private String major;
    private String className;
    private int age;
    private String describe;
    private int studentID;
    protected static int studentCount = 0;

    public Student() {

    }

    public Student(String name, String major, String className, int age, String describe, int studentID) {
        this.name = name;
        this.major = major;
        this.className = className;
        this.age = age;
        this.describe = describe;
        this.studentID = studentID;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public int getStudentID() {
        return studentID;
    }

    public void setStudentID(int studentID) {
        this.studentID = studentID;
    }

    public static int getStudentCount() {
        return studentCount;
    }

    public static void setStudentCount(int studentCount) {
        Student.studentCount = studentCount;
    }


    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", major='" + major + '\'' +
                ", className='" + className + '\'' +
                ", age=" + age +
                ", describe='" + describe + '\'' +
                ", studentID=" + studentID +
                '}';
    }
}




